<?php
/**
 * Created by PhpStorm.
 * User: ytl003
 * Date: 2018/5/22
 * Time: 下午5:23
 */

namespace app\api\model;


class Building extends BaseModel
{
    public function getHeaderImgAttr($value, $data){
        return $this->prefixImgUrl($value, $data);
    }

    public function getDescriptionAttr($value){
        return htmlspecialchars_decode($value);
    }
}